<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改书籍</title>
</head>
<body>
<h2>修改书籍</h2>
<form action="" method="post">
    {% csrf_token %}

    {% for field in form %}
        <p>
        {{ field.label }}{{ field }}
        <!--错误信息固定：field.errors.0 -->
        <!--label：自定义标签提示 -->
        </p>
    {% endfor %}

    <input type="submit" value="提交">
</form>

</body>
</html>